/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package br.catraca.modelo;

import java.io.Serializable;
import javax.persistence.Entity;
import javax.persistence.Id;

/**
 *
 * @author Henrique
 */
@Entity
public class Curso implements Serializable{
    
    @Id
    private String codigo;
    private String nome;

    public String getCodigo() {
        return codigo;
    }

    public String getNome() {
        return nome;
    }

    public void setCodigo(String codigo) {
        this.codigo = codigo;
    }

    public void setNome(String nome) {
        this.nome = nome;
    }
    
    
    
}
